package vip.wangwenhao.document;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

/**
*  
*
* @author wwh
*
*/

@Data
public class BaseDocument {

    @Id
    @Field(type = FieldType.Keyword)
    private String id;

}